#include "student.h"
#include <QDebug>

Student::Student(QObject *parent) : QObject(parent)
{

}

void Student::response()
{
    qDebug() << "出去转转";
}

void Student::response(QString str)
{
    if(str == "下课")
    {
        qDebug() << "下去转转";
    }
    else if (str == "放学")
    {
        qDebug() << "收拾书包，回家";
    }

}
